package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 流程节点对象 cz_process_node
 * 
 * @author ruoyi
 * @date 2022-01-09
 */
@ApiModel(description= "流程节点对象")
public class CzProcessNode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流程节点ID */
    @ApiModelProperty(value ="流程节点ID")
    private Long nodeId;

    /** 流程节点名称 */
    @Excel(name = "流程节点名称")
    @ApiModelProperty(value ="流程节点名称")
    private String nodeName;

    /** 流程节点图标 */
    @Excel(name = "流程节点图标")
    @ApiModelProperty(value ="流程节点图标")
    private String nodeIcon;

    /** 链接节点ID */
    @Excel(name = "链接节点ID")
    @ApiModelProperty(value ="链接节点ID")
    private Long nextNodeId;

    /** 流程ID */
    @Excel(name = "流程ID")
    @ApiModelProperty(value ="流程ID")
    private Long processId;

    /** 操作前状态 */
    @Excel(name = "操作前状态")
    @ApiModelProperty(value ="操作前状态")
    private String beforeStatus;

    /** 操作后状态 */
    @Excel(name = "操作后状态")
    @ApiModelProperty(value ="操作后状态")
    private String afterStatus;

    /** 操作部门ID */
    @Excel(name = "操作部门ID")
    @ApiModelProperty(value ="操作部门ID")
    private Long deptId;

    /** 操作岗位ID */
    @Excel(name = "操作岗位ID")
    @ApiModelProperty(value ="操作岗位ID")
    private Long postId;

    /** 操作角色ID */
    @Excel(name = "操作角色ID")
    @ApiModelProperty(value ="操作角色ID")
    private Long roleId;

    /** 操作用户ID */
    @Excel(name = "操作用户ID")
    @ApiModelProperty(value ="操作用户ID")
    private Long userId;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty(value ="排序")
    private Long sort;

    public void setNodeId(Long nodeId) 
    {
        this.nodeId = nodeId;
    }

    public Long getNodeId() 
    {
        return nodeId;
    }
    public void setNodeName(String nodeName) 
    {
        this.nodeName = nodeName;
    }

    public String getNodeName() 
    {
        return nodeName;
    }
    public void setNodeIcon(String nodeIcon) 
    {
        this.nodeIcon = nodeIcon;
    }

    public String getNodeIcon() 
    {
        return nodeIcon;
    }
    public void setNextNodeId(Long nextNodeId) 
    {
        this.nextNodeId = nextNodeId;
    }

    public Long getNextNodeId() 
    {
        return nextNodeId;
    }
    public void setProcessId(Long processId) 
    {
        this.processId = processId;
    }

    public Long getProcessId() 
    {
        return processId;
    }
    public void setBeforeStatus(String beforeStatus) 
    {
        this.beforeStatus = beforeStatus;
    }

    public String getBeforeStatus() 
    {
        return beforeStatus;
    }
    public void setAfterStatus(String afterStatus) 
    {
        this.afterStatus = afterStatus;
    }

    public String getAfterStatus() 
    {
        return afterStatus;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nodeId", getNodeId())
            .append("nodeName", getNodeName())
            .append("nodeIcon", getNodeIcon())
            .append("nextNodeId", getNextNodeId())
            .append("processId", getProcessId())
            .append("beforeStatus", getBeforeStatus())
            .append("afterStatus", getAfterStatus())
            .append("deptId", getDeptId())
            .append("postId", getPostId())
            .append("roleId", getRoleId())
            .append("userId", getUserId())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
